$background-color: #4c566a;
$background-color-darker: #2e3440;
$border-color: #848d9d;
$font-size: 12px;

.tangible-template-system--editor-actions-panel,
// Compatibility with Beaver Builder's overly eager CSS rules
.fl-lightbox .tangible-template-system--editor-actions-panel {

  background-color: $background-color;
  color: #fff;

  padding: 0;
  display: flex;
  flex-direction: column;

  p {
    margin: .5rem 0;
  }

  ul, li {
    margin: 0;
    padding: 0;
  }
  ul {
    list-style: disc;
    padding-left: 1rem;
  }

  > .main-row {

    display: flex;
    user-select: none;

    > .col-left {
      flex-grow: 1;
    }
  
    > .col-right {
      display: flex;
      text-align: right;
    }  
  }

  > .help-row {

    padding: .5rem 1rem;
    border-top: 1px solid $border-color;
    background-color: $background-color-darker;

    &, p {
      font-size: 14px;
    }
    p:first-child { margin-top: 0; }

    kbd {
      font-size: $font-size;
      padding: 2px 4px;
      border: 1px solid $border-color;
      border-radius: 4px;
      white-space: nowrap;
    }

    .keyboard-shortcut {
      line-height: 1.62;
    }
  }

  &,
  select[data-action="font-list"],
  select[data-action="theme-list"] {
    font-size: $font-size;
    line-height: 1;
  }

  .settings-group {
    flex-grow: 1;
    align-items: center;
    padding: 0 .25rem;
  }

  .setting-label,
  .setting-label-button {
    margin: .125rem 0;
    padding: .25rem .5rem;
    border-left: 1px solid $border-color;
  }

  select[data-action="font-list"],
  select[data-action="theme-list"] {
    padding: 2px 4px;
    background-color: $background-color-darker;
    min-height: 0;
    border: 0;
    box-shadow: none;
    &, &:hover, &:focus {
      color: #fff;
    }
  }
  [data-action="font-size"] {
    padding: 0 4px;
  }
  [data-action="font-size-minus"],
  [data-action="font-size-plus"] {
    padding: 4px 4px;
    cursor: pointer;
  }
  [data-action="font-size-display"] {
  }

  .setting-label-button {
    cursor: pointer;
    transition: background-color .1s;
    &:active {
      background-color: $background-color-darker;
    }
  }
}
